package com.javaweb.service;

import com.javaweb.entity.Room;

import java.util.List;

public interface RoomService {
    void add(Room room);

    List<Room> listAll();

    List<Room> listMine();

    Room findById(Integer id);

    void update(Room room);

    Room findByRoomName(String roomName);
}
